Currently we only exclude hidden actors from the input region,
but not from struts. This is an oversight that went unnoticed
until now, probably because we didn't consider the work area
in the overview until recently.
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4569
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1963>
for (i = 0; i < this._trackedActors.length; i++) {
let actorData = this._trackedActors[i];
+ if (!actorData.actor.get_paint_visibility())
+ continue;
+
if (!(actorData.affectsInputRegion && wantsInputRegion) && !actorData.affectsStruts)
continue;
w = Math.round(w);
h = Math.round(h);
- if (actorData.affectsInputRegion && wantsInputRegion && actorData.actor.get_paint_visibility())
+ if (actorData.affectsInputRegion && wantsInputRegion)
rects.push(new Meta.Rectangle({ x, y, width: w, height: h }));
let monitor = null;